package com.zw.yzk.kabu.data.network.task;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
 * Created by zhanwei on 2017/7/5.
 */

public class BindPhoneTask extends Task {
    @Expose
    @SerializedName("phone_number")
    public String phone;//用户名
    @Expose
    @SerializedName("token")
    public String token;//将密码和当前时间戳的json格式字符串:{“password”:”xxxx”,”timestamp”:149234812}通过公钥进行加密，得到token
    @Expose
    @SerializedName("check_code")
    public String verifyCode;//验证码

    public BindPhoneTask(String phone, String token, String verifyCode) {
        this.phone = phone;
        this.token = token;
        this.verifyCode = verifyCode;
    }
}
